package com.wwj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.common.utils.PageUtils;
import com.wwj.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.wwj.gulimall.product.entity.AttrEntity;
import com.wwj.gulimall.product.vo.AttrInfoVo;
import com.wwj.gulimall.product.vo.AttrVo;

import java.util.Map;

/**
 * 商品属性
 *
 * @author wwj
 * @email 3288937519@qq.com
 * @date 2024-09-07 15:46:50
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attr);

    PageUtils queryPageByCatelogId(Map<String, Object> params, Long catelogId, String attrType);

    AttrInfoVo getAttrInfo(Long attrId);

    void updateAttr(AttrVo attr);

    PageUtils getAttrNoRelation(Map<String, Object> params, Long attrgroupId);

}

